//
//  MotionWindow.m
//  MokoAPP
//
//  Created by 현식 강 on 11. 8. 13..
//  Copyright 2011 아이온. All rights reserved.
//

#import "MotionWindow.h"


@implementation MotionWindow
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event {
    if (event.type == UIEventTypeMotion && event.subtype == UIEventSubtypeMotionShake) {
        [[NSNotificationCenter defaultCenter] postNotificationName:@"DeviceShaken" object:self];
    }
}
@end
